package cn.chen.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author hbpu
 * @since 2023-05-27
 */
@Getter
@Setter
@TableName("orders")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uid")
    private Integer uid;

    @TableField("gid")
    private Integer gid;

    /**
     * 价格
     */
    @TableField("price")
    private Integer price;

    /**
     * 用户评分
     */
    @TableField("score")
    private String score;

    @TableField("create_time")
    private String createTime;

    @TableField("uname")
    private String uname;

    @TableField("gname")
    private String gname;


}
